home *** CD-ROM | disk | FTP | other *** search
/ Champak 49 / Volume 49 - JOGO DISK .iso / Games / hungerstrike.swf / scripts / DefineSprite_509 / frame_20 / DoAction.as
Encoding:
Text File  |  2007-09-28  |  509 b   |  25 lines

  1. stop();
  2. var game = container_mc.GameBase;
  3. resume_btn.onRelease = closeMain_btn.onRelease = function()
  4. {
  5.    gotoAndStop("game");
  6.    game.interface_mc.pauseResume();
  7. };
  8. restart_btn.onRelease = function()
  9. {
  10.    gotoAndStop("game");
  11.    game.restartGame();
  12. };
  13. instructions_btn.onRelease = function()
  14. {
  15.    gotoAndStop("instructions");
  16. };
  17. leaderboard_btn.onRelease = function()
  18. {
  19.    gotoAndStop("leaderboard");
  20. };
  21. sendToAFriend_btn.onRelease = function()
  22. {
  23.    gotoAndStop("sendtoafriend");
  24. };
  25.